<?php
include("../dynamicContent.php");
autorizacionCMS();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>KVM Page - Administrator</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<link href="default.css" rel="stylesheet" type="text/css" media="all" />
		<script language="javascript" type="text/javascript" src="../md5.js"> </script>
        <script type="text/javascript">
	
function confirmarM()
		{
		var agree=confirm("It'll be changed the password");
		if (agree){
			return true ;
			}
		else
			return false ;
		}	

function vacio(q) {
        for ( i = 0; i < q.length; i++ ) {
                if ( q.charAt(i) != " " ) {
                        return true
                }
        }
        return false
}
</script>
        
	</head>
	
	<body>

		<div id="wrapper">
		
			<div id="logo">						
				<?php tituloSubtituloCMS();  ?>
			</div>
			
			<div id="page" class="round">
			
			
			
				
				<div id="wrapper2" class="round">
				
					<div id="sidebar" class="round">
					<?php sidebarCMS();  ?>
					<!-- End Sidebar -->				
					</div>
					
					<div id="content" class="round">
						<h1>Users: Change Password </h1>
                        <center>

<div style="float:left; margin-left:81px">
<br />
    <form method="post" action=''>
<h3> admin </h3>
	<label></label><br /> 
	<input id="titulo" class="camposTexto" type="password" name = "titulo" value="" /><br /> <p>
     <input name="button2" type="button" class="botones" onclick="if( vacio(document.getElementById('titulo').value) != false) {if (confirmarM()) window.location='cil.php?tipo=1&tipo2=5&nombre='+calcMD5(document.getElementById('titulo').value)+'&red=cambiarClaves.php'}" value="Change Password" />
     <br />
	<br />
    </p>
	</div>

    

<div style="float:left; margin-left:81px">
<br />
    <form method="post" action=''>
<h3> guest </h3>
	<label></label><br /> 
	<input id="titulo2" class="camposTexto" type="password" name = "titulo2" value="" /><br /> <p>
     <input name="button2" type="button" class="botones" onclick="if( vacio(document.getElementById('titulo2').value) != false) {if (confirmarM()) window.location='cil.php?tipo=2&tipo2=5&nombre='+calcMD5(document.getElementById('titulo2').value)+'&red=cambiarClaves.php'}" value="Change Password" />
     <br />
	<br />
    </p>
	</div>


    <br />
	<br />
    </form>
    
 
 </center>
					
					<!-- End Content -->
					</div>
			
					<div style="clear: both"></div>
			
				<!-- End Wrapper 2 -->
				</div>
				
			<!-- End Page -->
			</div>
		
		<!-- End Wrapper -->
		</div>
		
		<div id="footer">
			<?php  piePagina();  ?>
		</div>
		
		
	</body>
	
</html>
